#include <bits/stdc++.h>
using namespace std;
char s[105], d[105];
int main()
{
	cin>>s;
	for(int i=0;i<strlen(s)-1;++i)
		d[i] = s[i]+s[i+1];
	d[strlen(s)-1] = s[strlen(s)-1] + s[0];
	cout<<d<<endl;
	return 0;
}
